package com.bvgol.examples.springboot.elk.service;

import com.bvgol.examples.springboot.elk.enetiy.Bank;
import com.bvgol.examples.springboot.elk.vo.SearchParam;
import com.bvgol.examples.springboot.elk.vo.SearchResult;

import java.util.List;

public interface SearchService {
    SearchResult findAll(SearchParam param);

    void save(List<Bank> list);

    void save(Bank bean);

    List<Bank> findByName(String text);

    List<Bank> findByNameOrDesc(String name, String desc);
}
